#ifndef __TYPE_H__
#define __TYPE_H__

// #define QEMU

typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;

typedef char int8_t;
typedef short int16_t;
typedef int int32_t;
typedef long long int64_t;

typedef int64_t intptr_t;

typedef int64_t offset_t;

typedef uint64_t size_t;

typedef unsigned char byte_t;
typedef unsigned short wchar_t;
typedef int bool;

typedef uint64_t* pageTable_t;
typedef int pid_t;
// typedef unsigned long long pte_t;
typedef unsigned char code_t;
typedef uint64_t address_t;  // an adress should be calculate such as a nun(uint64_t)
typedef uint64_t pte_t;
typedef unsigned long register_t;
typedef uint64_t size_t;

#define TRUE 1
#define FALSE 0
#define ERROR -1

#endif